package com.ship.dispatch.service.fob;

import com.ship.common.business.service.BaseService;
import com.ship.dispatch.bean.fob.SpFobLabelItem;
import com.ship.dispatch.vo.fileTemplate.SpFobLabelItemVO;

import java.util.List;
import java.util.Map;

/**
 * @author yl
 * @title SpFobLabelItemService
 * @description
 * @create 2023/12/23 0023
 */
public interface SpFobLabelItemService extends BaseService<SpFobLabelItem> {
    /**
     * 获取key 对应的数据库值
     *
     * @param labels
     * @return
     */
    Map<String, String> getLabelKesData(String nodeKey,List<String> labels, String instanceId);

    /**
     * 获取所有可用标签
     * @param name
     * @return
     */
    List<SpFobLabelItemVO> getSpFobLabelItems(String name);
}
